<!-- 订单编号控件 -->
<template>
    <a-space direction="vertical" style="width: 100%">
      <a-input :model-value="ordertNumber" :placeholder="props.props.placeholder" />
    </a-space>
  </template>
  
  <script lang="ts" setup>
  import { ref, computed } from 'vue';
  
  const props = withDefaults(
    defineProps<{
      props: { [propName: string]: any };
      name?: string;
      required?: boolean;
      oneValue: any;
      regex?: {
        [name: string]: {
          role: any;
          name: any;
        };
      };
    }>(),
    {}
  );
  const ordertNumber = computed(()=>{
    return props.oneValue;
  })
  </script>
  
  <style scoped lang="less">
  
  </style>
  